<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html">

    <body>

        <ui:composition template="./WEB-INF/template.xhtml">

            <ui:define name="content">
                <h:form>
                    Name: <h:inputText value="#{person.name}" size="20"/><br/>
                    Age: <h:inputText value="#{person.age}" size="6"/><br/><br/>
                    <h:commandButton actionListener="#{personSessionBean.createPerson()}" 
                                     action="show" 
                                     value="Add"/>
                </h:form>
                <br/>
                <ul>
                    <li>Download <a href="http://www.oracle.com/technetwork/products/nosqldb/downloads/index.html">Oracle NoSQL Community Edition</a> and unzip.</li>
                    <li>Install the NoSQL Client jar: <code>mvn install:install-file -Dfile=/Users/arungup/tools/oracle/nosql/kv-2.1.19/lib/kvclient.jar -DgroupId=com.oracle.nosql -DartifactId=oracle-nosql -Dversion=2.1.19 -Dpackaging=jar</code></li>
                    <li>Start the server as: <code>java -jar lib/kvstore.jar kvlite</code> to see the output as:<br/><br/>
Created new kvlite store with args:<br/>
-root ./kvroot -store kvstore -host arungup-mac.local -port 5000 -admin 5001
                    </li>
                </ul> 
            </ui:define>

        </ui:composition>

    </body>
</html>
